package com.netposa.datawarehouse.aggregator.web.model;

public class ExcludeCondition {
   private String excludedDataKeys;
   private String includeDataKey;
   private String sessionKey;

   public String getExcludedDataKeys() {
      return this.excludedDataKeys;
   }

   public String getIncludeDataKey() {
      return this.includeDataKey;
   }

   public String getSessionKey() {
      return this.sessionKey;
   }

   public void setExcludedDataKeys(String excludedDataKeys) {
      this.excludedDataKeys = excludedDataKeys;
   }

   public void setIncludeDataKey(String includeDataKey) {
      this.includeDataKey = includeDataKey;
   }

   public void setSessionKey(String sessionKey) {
      this.sessionKey = sessionKey;
   }

   public boolean equals(Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof ExcludeCondition)) {
         return false;
      } else {
         ExcludeCondition other = (ExcludeCondition)o;
         if (!other.canEqual(this)) {
            return false;
         } else {
            label47: {
               Object this$excludedDataKeys = this.getExcludedDataKeys();
               Object other$excludedDataKeys = other.getExcludedDataKeys();
               if (this$excludedDataKeys == null) {
                  if (other$excludedDataKeys == null) {
                     break label47;
                  }
               } else if (this$excludedDataKeys.equals(other$excludedDataKeys)) {
                  break label47;
               }

               return false;
            }

            Object this$includeDataKey = this.getIncludeDataKey();
            Object other$includeDataKey = other.getIncludeDataKey();
            if (this$includeDataKey == null) {
               if (other$includeDataKey != null) {
                  return false;
               }
            } else if (!this$includeDataKey.equals(other$includeDataKey)) {
               return false;
            }

            Object this$sessionKey = this.getSessionKey();
            Object other$sessionKey = other.getSessionKey();
            if (this$sessionKey == null) {
               if (other$sessionKey != null) {
                  return false;
               }
            } else if (!this$sessionKey.equals(other$sessionKey)) {
               return false;
            }

            return true;
         }
      }
   }

   protected boolean canEqual(Object other) {
      return other instanceof ExcludeCondition;
   }

   public int hashCode() {
      
      int result = 1;
      Object $excludedDataKeys = this.getExcludedDataKeys();
      result = result * 59 + ($excludedDataKeys == null ? 43 : $excludedDataKeys.hashCode());
      Object $includeDataKey = this.getIncludeDataKey();
      result = result * 59 + ($includeDataKey == null ? 43 : $includeDataKey.hashCode());
      Object $sessionKey = this.getSessionKey();
      result = result * 59 + ($sessionKey == null ? 43 : $sessionKey.hashCode());
      return result;
   }

   public String toString() {
      return "ExcludeCondition(excludedDataKeys=" + this.getExcludedDataKeys() + ", includeDataKey=" + this.getIncludeDataKey() + ", sessionKey=" + this.getSessionKey() + ")";
   }
}
